package com.supercube.sport.yoga.controller;

import com.supercube.sport.yoga.service.BookingCourseService;
import com.supercube.sport.yoga.utils.ResultInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description：课程签到
 * Created By guowen
 */
@RestController
@RequestMapping("/signedCourse")
@Api(tags = "课程签到管理")
@Slf4j
public class SignedCourseController {
    @Autowired
    private BookingCourseService bookingCourseService;
    /**
     * 保存课程基本信息
     *
     * @param menberId
     * @return
     */
    @ApiOperation(value = "查询所有签到记录", notes = "查询所有签到记录")
    @PostMapping("/getSignedRecord")
    public ResultInfo getSignedRecord(@RequestParam String menberId) {
//        courseBasicInfoService.save(dto);
        return ResultInfo.success("保存成功");
    }

}
